Skip to content

Add a DeleteUser method to the keycloak helper#78

Merged
github-actions[bot] merged 1 commit into
developfrom
arashi.li/keycloak-delete-user
Jun 25, 2026
Merged

Add a DeleteUser method to the keycloak helper#78
github-actions[bot] merged 1 commit into
developfrom
arashi.li/keycloak-delete-user

Conversation

@arasHi87

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it

Adds a DeleteUser(realm, userID) method to the keycloak Helper (and the underlying Client interface), mirroring the existing CreateUser / UpdateUser wrappers. The wrapper previously exposed no way to delete a Keycloak user.

Which issue(s) this PR fixes

N/A

Special notes for your reviewer

Thin passthrough to gocloak's DeleteUser; no behavior change to existing methods. Needed by the cubecmp FET new-order activation rollback, which recycles a freshly-created Keycloak user when provisioning fails after the user was created.

Additional documentation


Expose user deletion on the keycloak Helper and its Client interface so
callers can remove a Keycloak user by ID, mirroring the existing
CreateUser/UpdateUser wrappers. Needed by the FET new-order activation
rollback, which recycles a freshly-created user when provisioning fails.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0132hfdR8ydwnt5ifKJsphHa
@arasHi87 arasHi87 added the done Merge the pull request label Jun 25, 2026
@github-actions github-actions Bot merged commit 8d6df09 into develop Jun 25, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

done Merge the pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant